# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'upgrade_widget.ui'
##
## Created by: Qt User Interface Compiler version 5.15.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide2.QtCore import *
from PySide2.QtGui import *
from PySide2.QtWidgets import *

import apprcc_rc

class Ui_UpgradeWidget(object):
    def setupUi(self, UpgradeWidget):
        if not UpgradeWidget.objectName():
            UpgradeWidget.setObjectName(u"UpgradeWidget")
        UpgradeWidget.resize(1361, 877)
        sizePolicy = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(UpgradeWidget.sizePolicy().hasHeightForWidth())
        UpgradeWidget.setSizePolicy(sizePolicy)
        font = QFont()
        font.setFamily(u"Microsoft YaHei UI")
        font.setPointSize(10)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        UpgradeWidget.setFont(font)
        UpgradeWidget.setStyleSheet(u"QWidget {font: 10pt \"Microsoft YaHei UI\";}\n"
"QCheckBox::indicator:unchecked {image: url(:/images/unchecked.png);}\n"
"QCheckBox::indicator:checked {image: url(:/images/checked.png);}")
        self.gridLayout = QGridLayout(UpgradeWidget)
        self.gridLayout.setObjectName(u"gridLayout")
        self.tabWidget = QTabWidget(UpgradeWidget)
        self.tabWidget.setObjectName(u"tabWidget")
        self.tab = QWidget()
        self.tab.setObjectName(u"tab")
        self.verticalLayout = QVBoxLayout(self.tab)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.verticalLayout.setContentsMargins(3, 3, 3, 3)
        self.textBrowser = QTextBrowser(self.tab)
        self.textBrowser.setObjectName(u"textBrowser")

        self.verticalLayout.addWidget(self.textBrowser)

        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QWidget()
        self.tab_2.setObjectName(u"tab_2")
        self.verticalLayout_2 = QVBoxLayout(self.tab_2)
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.verticalLayout_2.setContentsMargins(3, 3, 3, 3)
        self.textBrowserConsole = QTextBrowser(self.tab_2)
        self.textBrowserConsole.setObjectName(u"textBrowserConsole")
        self.textBrowserConsole.setStyleSheet(u"background-color: rgb(0, 0, 0);\n"
"color: rgb(255, 255, 255);\n"
"font: 10pt \"Microsoft YaHei UI\";")

        self.verticalLayout_2.addWidget(self.textBrowserConsole)

        self.tabWidget.addTab(self.tab_2, "")

        self.gridLayout.addWidget(self.tabWidget, 4, 0, 1, 8)

        self.label_2 = QLabel(UpgradeWidget)
        self.label_2.setObjectName(u"label_2")

        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)

        self.radioButtonNetLink = QRadioButton(UpgradeWidget)
        self.radioButtonNetLink.setObjectName(u"radioButtonNetLink")
        self.radioButtonNetLink.setChecked(True)

        self.gridLayout.addWidget(self.radioButtonNetLink, 0, 1, 1, 1)

        self.lineEditLink = QLineEdit(UpgradeWidget)
        self.lineEditLink.setObjectName(u"lineEditLink")
        self.lineEditLink.setClearButtonEnabled(True)

        self.gridLayout.addWidget(self.lineEditLink, 2, 1, 1, 6)

        self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.gridLayout.addItem(self.horizontalSpacer_2, 0, 3, 1, 1)

        self.label = QLabel(UpgradeWidget)
        self.label.setObjectName(u"label")

        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)

        self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.gridLayout.addItem(self.horizontalSpacer, 0, 5, 1, 2)

        self.lineEditImgPath = QLineEdit(UpgradeWidget)
        self.lineEditImgPath.setObjectName(u"lineEditImgPath")
        self.lineEditImgPath.setEnabled(False)
        self.lineEditImgPath.setMaxLength(3200)
        self.lineEditImgPath.setClearButtonEnabled(True)

        self.gridLayout.addWidget(self.lineEditImgPath, 3, 1, 1, 6)

        self.label_3 = QLabel(UpgradeWidget)
        self.label_3.setObjectName(u"label_3")

        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)

        self.radioButtonLocal = QRadioButton(UpgradeWidget)
        self.radioButtonLocal.setObjectName(u"radioButtonLocal")

        self.gridLayout.addWidget(self.radioButtonLocal, 0, 2, 1, 1)

        self.pushButtonSelImg = QPushButton(UpgradeWidget)
        self.pushButtonSelImg.setObjectName(u"pushButtonSelImg")
        self.pushButtonSelImg.setEnabled(False)

        self.gridLayout.addWidget(self.pushButtonSelImg, 3, 7, 1, 1)

        self.checkBoxUboot = QCheckBox(UpgradeWidget)
        self.checkBoxUboot.setObjectName(u"checkBoxUboot")
        self.checkBoxUboot.setLayoutDirection(Qt.RightToLeft)

        self.gridLayout.addWidget(self.checkBoxUboot, 0, 4, 1, 1)

        self.gridLayout.setColumnStretch(5, 1)

        self.retranslateUi(UpgradeWidget)

        self.tabWidget.setCurrentIndex(0)


        QMetaObject.connectSlotsByName(UpgradeWidget)
    # setupUi

    def retranslateUi(self, UpgradeWidget):
        UpgradeWidget.setWindowTitle(QCoreApplication.translate("UpgradeWidget", u"\u4e00\u952e\u5237\u673a", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QCoreApplication.translate("UpgradeWidget", u"\u4efb\u52a1\u65e5\u5fd7", None))
        self.textBrowserConsole.setHtml(QCoreApplication.translate("UpgradeWidget", u"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:'Microsoft YaHei UI'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Lucida Console'; font-size:12pt;\"><br /></p></body></html>", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QCoreApplication.translate("UpgradeWidget", u"\u63a7\u5236\u53f0\u4fe1\u606f", None))
        self.label_2.setText(QCoreApplication.translate("UpgradeWidget", u"URL\u94fe\u63a5\u5730\u5740\uff1a", None))
        self.radioButtonNetLink.setText(QCoreApplication.translate("UpgradeWidget", u"\u901a\u8fc7pr/issue/\u955c\u50cf\u94fe\u63a5\u4e0b\u8f7d", None))
        self.lineEditLink.setPlaceholderText(QCoreApplication.translate("UpgradeWidget", u"\u793a\u4f8b\uff1ahttps://gitee.com/openharmony/pulls\u6216\u8005issue/123 \u6216 http://download.ci.openharmony.cn/.../.../...dayu200.tar.gz", None))
        self.label.setText(QCoreApplication.translate("UpgradeWidget", u"\u955c\u50cf\u83b7\u53d6\u65b9\u5f0f\uff1a", None))
        self.lineEditImgPath.setPlaceholderText(QCoreApplication.translate("UpgradeWidget", u"\u793a\u4f8b\uff1aArtifacts-dayu200-yyyymmdd-x-xxxxx-version-dayu200.tar.gz", None))
        self.label_3.setText(QCoreApplication.translate("UpgradeWidget", u"\u672c\u5730\u955c\u50cf\u4f4d\u7f6e\uff1a", None))
        self.radioButtonLocal.setText(QCoreApplication.translate("UpgradeWidget", u"\u4f7f\u7528\u672c\u5730\u955c\u50cf", None))
        self.pushButtonSelImg.setText(QCoreApplication.translate("UpgradeWidget", u"\u9009\u62e9", None))
        self.checkBoxUboot.setText(QCoreApplication.translate("UpgradeWidget", u"\u5237\u673a\u65f6\u4f7f\u75288G uboot.img   ", None))
    # retranslateUi

